ComponentOne CollectionView
C1.CollectionView Assembly / C1.CollectionView Namespace / ICollectionViewEx Class / SortAsync Method / SortAsync<T>(ICollectionView<T>,SortDescription[]) Method
The collection view.
The sort descriptions that determine how the data will be sort.

In This Topic
    SortAsync<T>(ICollectionView<T>,SortDescription[]) Method
    In This Topic
    Sorts the collection view according to the specified sort descriptions.
    Syntax
    'Declaration
     
    Public Overloads Shared Function SortAsync(Of T As Class)( _
       ByVal collectionView As ICollectionView(Of T), _
       ByVal ParamArray sortDescriptions() As SortDescription _
    ) As System.Threading.Tasks.Task
    public static System.Threading.Tasks.Task SortAsync<T>( 
       ICollectionView<T> collectionView,
       params SortDescription[] sortDescriptions
    )
    where T: class

    Parameters

    collectionView
    The collection view.
    sortDescriptions
    The sort descriptions that determine how the data will be sort.

    Type Parameters

    T
    See Also